<div class="boxDlg300" >
	<div class="headerTitle">
    	<h3>Tạo Off nhanh</h3>
        <span><a href="javascript:closeUI();"><img src="{$smarty.const.HOST_STATICS}img/btn/close.png" width="10" height="10" alt="Close dialog" border="0"/></a></span>
    </div>
    <div class="dlg300Item">  
    	<div class="offlineQuick">
        	<form method="post" name="frmCreateQuick" id="frmCreateQuick" action="{$smarty.const.HOST_VFRIEND}offline/savequick" enctype="multipart/form-data" autocomplete="off">
                <div class="userInput">
                    <label>Tiêu đề Offline:</label>
                    <input type="text" name="ptitle" id="ptitle" maxlength="255" />
                </div>
                <div class="userInput">
                    <label>Hình thức:</label>
                    <div class="category">
                    	<select name="pcategoryid" id="pcategoryid" class="select">
                            <option value="0">Chọn</option>
                            {if $arrCateOffline}
                                {foreach item=item from=$arrCateOffline}
                                    <option value="{$item.categoryid}">{$item.name}</option>
                                {/foreach}
                            {/if}
                        </select>
                    </div>
                </div>
                {if $AppUI->id|ouser:"province" == 0}
                	<div class="userInput">
                        <label>Tỉnh/thành:</label>
                        <div class="province">
                        	<select name="pprovince" id="pprovince" class="select">
                                <option value="0">Chọn</option>
                                {html_options options=$arrProvince}
                            </select>
                       	</div>
                    </div>
                {else}
                	<input type="hidden" name="pprovince" id="pprovince" value="{$AppUI->id|ouser:"province"}"/>
                {/if}
                {if $AppUI->mobile == ""}
                	<div class="userInput">
                        <label>Điện thoại:</label>
                        <input type="text" name="pmobile" id="pmobile" maxlength="20" />
                    </div>
               	{else}
                	<input type="hidden" name="pmobile" id="pmobile" value="{$AppUI->mobile}"/>
                {/if}                
                <div class="sAction">
                    <input type="submit" value="Tạo Off" class="btn" />
                    <input type="button" value="Hủy" class="btnCancel" onclick="javascript:closeUI();" />
                </div>
            </form>
        </div>  	
    </div>
</div>
<script type="text/javascript" language="javascript" src="{$smarty.const.HOST_STATICS}js/library/init.js?{$smarty.const.JS_UPDATE}"></script>
<script type="text/javascript" language="javascript" src="{$smarty.const.HOST_STATICS}js/language/offline/create.js?{$smarty.const.JS_UPDATE}"></script>
<script type="text/javascript" language="javascript" src="{$smarty.const.HOST_STATICS}js/offline/create-quick.js?{$smarty.const.JS_UPDATE}"></script>